SmartCrawl\Modules\Advanced\WooCommerce\Controller A

Total Complexity 70
Dependencies 8
Dependents 2
Total lines 552
Lines of code 305
Logical lines of code 149
Comment lines 162
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
display_notice()
A
45 6 50
sanitize_options()
S
56 7 18
ignore_hidden_products()
S
50 5 30
add_rules_to_robots_txt()
S
54 5 21
remove_woocommerce_product_schema()
S
59 4 14
invalidate_sitemap_cache()
S
62 4 11
get_brand_options()
S
56 3 18
localize_script_args()
S
56 3 17
get_brand()
S
63 4 10
add_brand_to_woocommerce_schema()
S
61 3 12
get_social_url()
S
63 3 10
is_social_allowed()
S
63 3 10
is_opengraph_enabled()
S
67 3 7
remove_hidden_products_from_sitemap()
S
68 2 7
remove_generator_tag()
S
66 2 8
is_schema_disabled()
S
74 2 4
include_woocommerce_roles()
S
70 2 6
init()
S
61 1 11
is_schema_allowed()
S
80 1 3
__construct()
S
75 1 4
is_schema_enabled()
S
75 1 4
update_response()
S
66 1 8
is_active()
S
80 1 3
terminate()
S
67 1 7
always()
S
64 1 9
set_options()
S
81 1 3